const Sequelize = require('sequelize');
const conf = {
  host: '127.0.0.1',
  dialect: 'mysql'
}
const seq = new Sequelize('blog', 'root', 'qwert12345', conf)
try {
  seq.authenticate();
  console.log('Connection has been established successfully.');
} catch (error) {
  console.error('Unable to connect to the database:', error);
}
module.exports = seq


